<div class="users form">
	<?php if(!cr("Users.noRegister")){?>
	<?php echo $form->create($userModelAlias, array('action'=>'login'))?>

		<?php echo $form->input('email', array('class'=>'swap_value', 'value'=>__('Email')))?>
		<?php echo $form->input('password', array('class'=>'swap_value', 'value'=>__('Password')))?>
		<?php echo $form->input('remember_me', array('type'=>'checkbox'))?>
		<?php echo $form->submit(__('Login'));?>
		<?php echo $html->link(__('Forgot Password?'), array('action'=>'forgotPassword')); ?>
	
	</form>
	<?php }?>
	<?php
	//@FBCONNECT INTERACTION
	if(cr("FacebookConfig.appId")) 
	{
		echo $html->link($html->image('/img/facebook_connect_logo.jpg'),'javascript:void(0)',array("onclick"=>"doUserFbLogin();","escape"=>false,'class'=>'facebook_button'));
 	}?>
</div>